package com.linjj.seckill.service;

import com.linjj.seckill.domain.Order;
import com.linjj.seckill.domain.User;
import com.linjj.seckill.vo.SeckillGoodsVo;

import java.awt.image.BufferedImage;

public interface ISeckillService {
    public Order seckill(User user, SeckillGoodsVo seckillVo,String address);

    public long getSeckillResult(long userId, long goodsId);

    public BufferedImage createVerifyCode(User user, long goodsId);

    public boolean checkVerifyCode(User user, long goodsId, int verifyCode);
}
